package com.qqcy.productservice.clients;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * DATE: 2022/1/6
 * Author: huhuan
 */
@FeignClient(value = "order-service")
public interface ProductClient {
    @GetMapping("/hi/{name}")
    String sayHi(@PathVariable("name") String name);
}
